import CommonPanel from "./common-panel";
import CommonChart from "./common-chart";
import LabelCount from "./label-count";
import CommonTitle from "./common-title";
import CommonDialog from "./common-dialog";
import CustomBox from "./custom-box";
// import CommonTable from "./common-table";

const comps = {
  "common-panel": CommonPanel,
  "common-chart": CommonChart,
  "label-count": LabelCount,
  "common-title": CommonTitle,
  "common-dialog": CommonDialog,
  "custom-box": CustomBox,
  // "common-table": CommonTable
};

export default {
  install(app) {
    Object.entries(comps).forEach(([name, comp]) => {
      app.component(name, comp);
    });
  },
};
